<template>
  <div id="app">
    <div class="left">
      <div class="left_title">可视化报告</div>
      <span class="item" @click="toOne">实验一</span>
      <span class="item" @click="toTwo">实验二</span>
      <span class="item" @click="toThree">实验三</span>
    </div>
    <RouterView class="View"/>
  </div>
</template>

<script>


export default {
  name: 'App',
  methods:{
    toOne(){
      this.$router.push('/')
    },
    toTwo(){
      this.$router.push('/two')
    },
    toThree(){
      this.$router.push('/three')
    }
  }
}
</script>

<style>

body{
  height: 100%;
  width: 100%;
  margin: 0 ! important;
  padding: 0 ! important;
  background: linear-gradient(to right, #405259, #183844, #092d3b,#492450);
}

#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  /*-webkit-font-smoothing: antialiased;*/
  /*-moz-osx-font-smoothing: grayscale;*/
  text-align: center;
  color: #2c3e50;
  width: 100%;
}

.left{
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0px;
  width: 200px;
  height: 100%;
  box-shadow: 5px 5px 5px #e7dddd;
  background: linear-gradient(to bottom, #405259, #183844, #092d3b,#492450);
}

.View{
  margin-left: 230px;
  padding-top: 50px;
}

.item{
  font-size: x-large;
  font-weight: 300;
  color: #fdfbfb;
  height: 50px;
  padding-top: 20px;
}

.left_title{
  width: 200px;
  height: 100px;
  display: flex;
  color: white;
  font-size: xx-large;
  font-weight: 500;
  padding-left: 15px;
  padding-top: 45px;
}
</style>
